home *** CD-ROM | disk | FTP | other *** search
- shader()
- {
- Cull("ccw")
- sortweight("preopaque")
- pass()
- {
- Pixelshader("SunFlare.psh")
- tmu()
- {
- texture()
- {
- Image("SunFace.dds")
- }
- }
- BlendFunc("one", "one")
- DepthFunc("lequal", 0)
- NoFog()
- }
- }
-
-
- shader()
- {
- Cull("ccw")
- sortweight("preopaque")
- pass()
- {
- tmu()
- {
- ColorOp("add_signed2", "tfactor", "tfactor_a", "current")
- }
- tmu()
- {
- texture()
- {
- Image("SunFace.dds")
- }
- ColorOp("mul", "texture_a", "current", "current")
- }
- Tfactor(%daycolor_r, %daycolor_g, %daycolor_b,1)
- BlendFunc("one", "one")
- DepthFunc("lequal", 0)
- NoFog()
- }
- }
-
-